import React, { Component } from 'react';
import { Result, Button} from 'antd';

class pageNoMenu extends Component {
    fnBackLogin=()=>{
        // window.location.href="./login"
        this.props.history.push("./login")
    }
    render() {
        return (
            <div>
                <Result
                    status="403"
                    title="未授权"
                    subTitle="本账户未授权访问任何页面，请联系管理员进行授权..."
                    extra={<Button type="primary" onClick={this.fnBackLogin}>返回</Button>}
                    className="pageNo"
                />
            </div>
        );
    }
}

export default pageNoMenu;